package com.ruoyi.his.service;

import java.util.List;
import com.ruoyi.his.domain.WarnHospitalLog;

/**
 * 医院预警Service接口
 * 
 * @author Alan
 * @date 2024-03-09
 */
public interface IWarnHospitalLogService 
{
    /**
     * 查询医院预警
     * 
     * @param hospitalId 医院预警主键
     * @return 医院预警
     */
    public WarnHospitalLog selectWarnHospitalLogByHospitalId(String hospitalId);

    /**
     * 查询医院预警列表
     * 
     * @param warnHospitalLog 医院预警
     * @return 医院预警集合
     */
    public List<WarnHospitalLog> selectWarnHospitalLogList(WarnHospitalLog warnHospitalLog);

    /**
     * 新增医院预警
     * 
     * @param warnHospitalLog 医院预警
     * @return 结果
     */
    public int insertWarnHospitalLog(WarnHospitalLog warnHospitalLog);

    /**
     * 修改医院预警
     * 
     * @param warnHospitalLog 医院预警
     * @return 结果
     */
    public int updateWarnHospitalLog(WarnHospitalLog warnHospitalLog);

    /**
     * 批量删除医院预警
     * 
     * @param hospitalIds 需要删除的医院预警主键集合
     * @return 结果
     */
    public int deleteWarnHospitalLogByHospitalIds(String[] hospitalIds);

    /**
     * 删除医院预警信息
     * 
     * @param hospitalId 医院预警主键
     * @return 结果
     */
    public int deleteWarnHospitalLogByHospitalId(String hospitalId);

    WarnHospitalLog getById(Long id);
}
